package com.example.javaee.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("`tb_asset`")
public class Asset {
    @TableId
    private int id;

    @TableField("assetNo")
    private String assetNo;

    private String assetTypeNo;

    private String assetName;

    private String assetLabel;

    private String assetDesc;

    private String assetCategory;

    private String assetStatus;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime registerTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime lastUpdatedTime;
    private int belongOrg;
    private String assetUser;
    private String ip;
}
